package MyLinkedList;

import java.util.LinkedList;
import java.util.List;

/**
 * Creat with IntelliJ IDEA
 * Description:
 * User:WZW
 * Date:2021-11-03
 * Time:6:05
 */

public class testDemo {
    public static void main(String[] args) {
        myLinkedList list = new myLinkedList();
//        list.createList();
        list.addLast(54);
        list.addLast(34);
        list.addLast(34);
        list.addLast(45);
        list.addLast(45);
        list.display();
        ListNode h = list.partition(40);
        list.display(h);
        h =list.deleteDuplication();
        list.display(h);
//        list.removeAllKey(45);
//        ListNode newHead = list.reverse(list.head);
//        list.display(newHead);
//        list.remove(45);
//        list.display();

    }
}
